﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 自制数学工具
{
    public class Point
    {
        private double x; private double y;private double z;

        public Point() { }
        public Point(double x, double y, double z)
        {
            this.x = x; this.y = y; this.z = z;
        }
        public Point(double x, double y)
        {
            this.y = y; this.x = x;z = 0;
        }

        public double X { get { return x; } set {  x = value; } }
        public double Y { get { return y; } set { y = value; } }
        public double Z { get { return z; } set { z = value; } }

    }
}
